package com.itheima.dao;

import com.itheima.pojo.Order;

import java.util.List;
import java.util.Map;

/**
 * @author LiangTianQi
 * @describe
 * @date 2020/11/17 20:48
 */
public interface OrderDao {

    List<Order> getByCondition(Order order);

    Integer add(Order addOrder);

    Order getById(Integer id);

    Map getById4Detail(Integer id);

    Integer getOrderCountByDate(String reportDate);

    Integer getOrderCountByMonthOrWeek(String week);

    Integer getOrderVisitCountByDate(String reportDate);

    List<Map<String,Object>> getHotmeal();
}
